home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp95 / freyja13.exe / lha / FCMDLIST.DOC < prev    next >
Text File  |  1992-03-22  |  13KB  |  329 lines

  1.              Freyja Command List
  2.  
  3. Commands in [[ ]] are not implemented in Freyja (but are in other Emacs
  4. editors used by the author).
  5.  
  6.  
  7. Regular Commands:
  8.  
  9.  
  10. ^@    Place the mark at the point.
  11. ^A    Move to the beginning of the current line.
  12. ^B    Move backward one character.
  13. ^C    Rotate the case of the rest of the word (in in a word) or
  14.     previous word.  Case rotates as lower -> Capital -> UPPER ->
  15.     lower.
  16. ^D    Delete the following character.
  17. ^E    Move to the end of the current line.
  18. ^F    Move forward one character.
  19. ^G    Abort.
  20. ^H    Delete the preceding character.
  21. ^I    Insert a Tab.
  22. ^J    Insert a line break and indent the new line the same amount as
  23.     the current one.
  24. ^K    Delete the text to the end of the current line; if at the end
  25.     of the line, delete the line break; copy the deleted text to
  26.     the kill buffer.
  27. ^L    Center the point at the preferred percentage on the screen.
  28. ^M    Insert a line break, leaving the point after the break.
  29. ^N    Move down to the next line, staying in as nearly the same
  30.     column as possible.
  31. ^O    Open line: insert a line break, leaving the point before the
  32.     break.
  33. ^P    Move up to the preceding line, staying in as nearly the same
  34.     column as possible.
  35. ^Q    Quote: Insert the following character as typed.
  36. ^R    Reverse search: ask for a search string and search backwards
  37.     for it.  Lowercase letters in the search string match
  38.     uppercase letters in the text.
  39. ^S    Forward search: ask for a search string and search forwards
  40.     for it.  Lowercase letters in the search string match
  41.     uppercase letters in the text.
  42. ^T    Twiddle: interchange the two characters before the point,
  43. ^U    Universal argument. There are two forms:
  44.  
  45.     ^U ^U .... <cmd>    does <cmd> 4, 16, 64, 256, ... times
  46.                 depending upon the number of ^Us (each
  47.                 ^U is a multiplier by 4)
  48.     ^U <integer> <cmd>    does <cmd> <integer> times
  49.  
  50. ^V    View next: move down to the next screen.
  51. ^W    Delete the text between the point and the mark ("cut"); copy
  52.     the deleted text to the kill buffer.  With an argument, the
  53.     deleted text is NOT copied to the kill buffer.
  54. ^X    Prefix for the ^X commands listed below.
  55. ^Y    Yank: copy the contents of the kill buffer to the point.  The
  56.     mark is left at the start of the yanked text and the point at
  57.     the end ("paste").
  58. ^Z    Move up to the previous screen.
  59. ^[    Prefix for the Meta commands listed below.
  60. ^\    Delete all white space (indentation) on the current line.
  61. ^]    Executes the keyboard macro.
  62. ^^    Undefined.
  63. ^_    [[Suspend the program's execution and return to whatever
  64.     invoked the editor.]]
  65. SP ... ~    Insert themselves.
  66. ^?    UNIX: Delete the preceding character.
  67.     MSDOS: Delete the preceding word; copy the deleted text to the
  68.     kill buffer.
  69.  
  70.  
  71. Control-X (^X) Commands:
  72.  
  73.  
  74. ^X ^B    Display a list of all regular buffers and associated
  75.     information.  ^U ^X ^B includes system buffers.
  76. ^X ^C    Exit the editor.
  77. ^X ^D    DIRED: Ask for a file specification and insert it into the
  78.     system buffer.  An empty specification lists all files in the
  79.     current directory.  With an argument, does a "long" list.  On
  80.     MSDOS systems, you can't just give a directory name, it must
  81.     include a file name part.
  82. ^X ^E    Ask for and execute a system command.
  83. ^X ^F    Ask for the name of a file and read it into a new buffer
  84.     whose name is derived from the file name.  On MSDOS systems, if an
  85.     argument is given, no ^M ^J to newline or ^Z processing is performed.
  86. ^X ^G    Abort: cancel ^X prefix.
  87. ^X ^H    Delete to the beginning of the current sentence.
  88. ^X ^I    [[Ask for the name of a file and insert it at the point.]]
  89. ^X ^L    Convert the region to lower case.
  90. ^X ^M    [[Invoke a subshell.]]
  91. ^X ^P    [[Print the current file, asking for options.]]
  92. ^X ^Q    [[avoid using]]
  93. ^X ^R    Ask for the name of a file and read it into the buffer: used
  94.     for refreshing the buffer from the copy on disk.  On MSDOS systems,
  95.     if an argument is given, no ^M ^J to newline or ^Z processing is
  96.     performed.
  97. ^X ^S    Save the current buffer.
  98. ^X ^T    [[Return to top-level editing (exit all recursive editors).]]
  99. ^X ^U    Convert the region to upper case.
  100. ^X ^V    Move the other window down to the next screen.
  101. ^X ^W    Ask for the name of a file and write the buffer to that file.  On
  102.     MSDOS systems, if an argument is given, no newline to ^M ^J
  103.     processing is performed.
  104. ^X ^X    Exchange the point and mark.
  105. ^X ^Z    Move the other window up to the previous screen.
  106. ^X ^\    Trim the trailing whitespace from all lines in the region.
  107. ^X #    Display the margin settings.  With an argument, inserts a ruler
  108.     line containing the current settings at the start of the buffer.
  109. ^X (    Start collecting a keyboard macro.
  110. ^X )    End collecting a keyboard macro.
  111. ^X ,    Set this buffer's tab spacing to the argument, which must be
  112.     explicitly provided.
  113. ^X .    Set this buffer's left margin (indent column) to the argument,
  114.     which must be explicitly provided.
  115. ^X /    Ask for a fill mode for this buffer.
  116. ^X 1    One window mode.
  117. ^X 2    Two window mode.
  118. ^X 3    Two window mode, leave the point in the other window.
  119. ^X 8    Treat the argument as the decimal value of a (presumably 8-bit)
  120.     character and insert it.
  121. ^X <    Scroll the window left.  With an argument, sets the left margin
  122.     to the specified column.
  123. ^X =    Display the current cursor position.
  124. ^X >    Scroll the window right.  With an argument, sets the left margin
  125.     to the specified column.
  126. ^X B    Switch to the next buffer in the ring.  If an argument is
  127.     supplied, do not skip over system buffers.
  128. ^X C    Exit the editor.  [[Invoke compiler.]]
  129. ^X E    Executes the keyboard macro.
  130. ^X F    Set this buffer's right margin (fill column) to the argument,
  131.     which must be explicitly provided.
  132. ^X H    Help.
  133. ^X M    [[Send mail.]]
  134. ^X K    Kill the current buffer and move to the previous buffer in the
  135.     ring.  If an argument is supplied, do not skip over system
  136.     buffers when moving to the previous buffer.  If no non-system
  137.     buffers are left, the scratch buffer is automatically (re)created.
  138. ^X O    Switch to the other window.
  139. ^X P    [[Print the current file, don't ask for options.]]
  140. ^X Q    Quote: Insert the following character as typed.
  141. ^X R    [[Read mail.]]
  142. ^X T    Tabify the region.
  143. ^X U    Untabify the region.
  144. ^X V    Switch to the previous buffer in the ring.  If an argument is
  145.     supplied, do not skip over system buffers.
  146. ^X [    Outdent the region by arg spaces.  If no argument, use the tab
  147.     spacing.
  148. ^X \    [[Get rid of all "^H_" strings in the buffer (used to make
  149.     UNIX man pages more readable after doing "^X ^E man title").]]
  150. ^X ]    Indent the region by arg spaces.  If no argument, use the tab
  151.     spacing.
  152. ^X ^    Grow the current window by arg lines.
  153. ^X `    Toggle whether gray space is visible.
  154. ^X {    Convert single hard newlines to soft newlines; convert double
  155.     hard newlines to single hard newlines.
  156. ^X }    Convert soft newlines to hard newlines; convert single hard
  157.     newlines to double hard newlines.
  158. ^X ^?    Delete to the beginning of the current sentence.
  159.  
  160.  
  161. Help Commands:
  162.  
  163.  
  164. ^X H ^A        Build an ASCII chart.
  165. ^X H ^C        Display copying information.
  166. ^X H ^F        Display Free Software Foundation information.
  167. ^X H ^H        Help on help.
  168. ^X H ^L        Display League for Programming Freedom information.
  169. ^X H ^U        Display the calculator document.
  170. ^X H ^W        Display warranty information.
  171. ^X H A        Apropos; ask for a string and display relevant commands.
  172. ^X H B        Describe key bindings (constructed from the command
  173.         tables); does not list self-insert or bad cmds.
  174. ^X H C        Display the command list document.
  175. ^X H F        Ask for a key and describes what the key does.
  176. ^X H H        Help on help.
  177. ^X H I        Brings up the "freyja.doc" file.
  178. ^X H T        Tutuorial: Brings up the "ftutoria.doc" file.
  179. ^X H X        Display command cross reference information.
  180. ^X H ^?        Help on help.
  181.  
  182.  
  183. Meta (^[) Commands:
  184.  
  185.  
  186. ^[ ^A    Place the mark at the beginning of the current number and the
  187.     point at the end.
  188. ^[ ^B    Move backward one number.
  189. ^[ ^C    [[avoid using]]
  190.     Creates a calendar for the current month in the %cal% buffer.
  191.     An argument can have one of three forms:
  192.  
  193.         MM        month number MM of current year
  194.         YYYY        current month of year YYYY
  195.         MMYYYY        month MM of year YYYY
  196.     
  197. ^[ ^E    Enter the current number into the calculator.
  198. ^[ ^F    Move forward one number.
  199. ^[ ^G    Abort: cancel ^[ prefix.
  200. ^[ ^H    Delete the preceding word; copy the deleted text to the kill
  201.     buffer.
  202. ^[ ^K    Delete the entire line that the point is on; copy the deleted
  203.     text to the kill buffer.
  204. ^[ ^L    Refresh and recenter the screen.
  205. ^[ ^M    Insert a printed copy of the number in the X register into the
  206.     buffer.  If an argument is supplied, do ^[ ^A ^W first.
  207. ^[ ^N    Advances the calendar by one month.  If no calendar has been
  208.     established, it starts at the current month.
  209. ^[ ^P    Rewinds the calendar by one month.  If no calendar has been
  210.     established, it starts at the current month.
  211. ^[ ^Q    [[avoid using]]
  212. ^[ ^R    Query replace: ask for an old string and a new string. At
  213.     each occurence of the old string, display it and ask for a command:
  214.  
  215.         Y,y,space    do the replace
  216.         N,n,^H,^?    skip to next
  217.         ,        replace, show it, and ask for Y/N confirmation
  218.         .        replace and exit
  219.         !        do the rest without asking
  220.         ^G,^[        exit
  221.  
  222. ^[ ^S    [[avoid using]]
  223. ^[ ^U    RPN Calculator.  See the "fcalc.doc" file.
  224. ^[ ^W    Append the next delete to the kill buffer instead of replacing
  225.     it.
  226. ^[ ^]    With no argument, the contents of the keyboard macro are
  227.     inserted into the current buffer.  Function key information is
  228.     NOT preserved.  With an argument, the current buffer (or as much as
  229.     will fit) is loaded into the keyboard macro.
  230. ^[ SP    Place the mark at the point.
  231. ^[ <    Move to the beginning of the current buffer; set the mark to
  232.     the place that you moved from.  If an argument is supplied,
  233.     move to the argth line.
  234. ^[ =    Display line counts.
  235. ^[ >    Move to the end of the current buffer; set the mark to
  236.     the place that you moved from.  If an argument is supplied,
  237.     move to the argth line.
  238. ^[ A    Move to the beginning of the current sentence.
  239. ^[ B    Move backward one word.
  240. ^[ C    Capitalize the following word.
  241. ^[ D    Delete the following word; copy the deleted text to the kill
  242.     buffer.
  243. ^[ E    Move to the end of the current sentence.
  244. ^[ F    Move forward one word.
  245. ^[ G    [[Ask for a line number and go to the specified line.]]
  246. ^[ H    Place the point and the mark around the current paragraph.
  247. ^[ K    Delete the remainder of the current sentence; copy the deleted
  248.     text to the kill buffer.
  249. ^[ L    Convert the following word to lower case.
  250. ^[ Q    Fill the current paragraph.  ^U ^[ Q means to justify the
  251.     paragraph.  ^U ^U ^[ Q means to remove the extra justification
  252.     spaces.
  253. ^[ S    Center the current line.
  254. ^[ T    Transpose the adjoining words.
  255. ^[ U    Convert the following word to upper case.
  256. ^[ V    Move up to the previous screen.
  257. ^[ W    Copy the region to the kill buffer.
  258. ^[ X    [[Execute extended command.]]
  259. ^[ [    Move to the beginning of the current paragraph.
  260. ^[ \    Delete the spaces and tabs around the point; insert one space.
  261. ^[ ]    Move to the end of the current paragraph.
  262. ^[ ~    Clear the buffer modified flag.
  263. ^[ ^?    Delete the preceding word; copy the deleted text to the kill
  264.     buffer.
  265.  
  266.  
  267. Named Keys:
  268.  
  269.  
  270. BS    Same as ^H, also BACK SPACE.
  271. TAB    Same as ^I.
  272. LF    Same as ^J, also LINE FEED (sometimes ENTER).
  273. CR    Same as ^M, also CARRIAGE RETURN or RETURN (sometimes ENTER).
  274. ESC    Same as ^[, also ESCAPE.
  275. DEL    Same as ^?, also DELETE or RUBOUT (obsolete).
  276.  
  277.  
  278. IBM PC Function Keys (MSDOS):
  279.  
  280.  
  281. Ctrl-2        Place the mark at the point.
  282. Alt-<letter>    Same as ^[ <letter>
  283. F1        Help.
  284. F3        Delete the entire line that the point is on; copy the deleted
  285.         text to the kill buffer.
  286. F5        Switch to the next buffer in the ring.  If an argument is
  287.         supplied, do not skip over system buffers.
  288. F6        Switch to the other window.
  289. F7        Opens a new line with the same initial indentation as the
  290.         current line.
  291. F8        Save the current buffer.
  292. F9        RPN Calculator.  See "fcalc.doc".
  293. F10        Creates a calendar in the %cal% buffer for the current month.
  294.         An argument can have one of three forms:
  295.             MM        month number MM of current year
  296.             YYYY        current month of year YYYY
  297.             MMYYYY        month MM of year YYYY
  298. Home        Move to the beginning of the current buffer; set the mark to
  299.         the place that you moved from.  If an argument is supplied,
  300.         move to the argth line.
  301. Up Arrow    Move up to the preceeding line, staying in as nearly the same
  302.         column as possible.
  303. PgUp        Move up to the previous screen.
  304. Left Arrow    Move backward one character.
  305. Right Arrow    Move forward one character.
  306. End        Move to the end of the current buffer; set the mark to
  307.         the place that you moved from.  If an argument is supplied,
  308.         move to the argth line.
  309. Down Arrow    Move down to the next line, staying in as nearly the same
  310.         column as possible.
  311. PgDn        View next: move down to the next screen.
  312. Ins        Open line: insert a line break, leaving the point before the
  313.         break.
  314. Del        Delete the following character.
  315. Shift-F6    Toggle between one and two window mode.
  316. Shift-F8    Ask for the name of a file and read it into a new buffer
  317.         whose name is derived from the file name.
  318. Shift-F10    Exit the editor.
  319. Ctrl-F2        Copy the region to the kill buffer.
  320. Ctrl-F3        Delete the text between the point and the mark ("cut"); copy
  321.         the deleted text to the kill buffer.
  322. Ctrl-F4        Yank: copy the contents of the kill buffer to the point.  The
  323.         mark is left at the start of the yanked text and the point at
  324.         the end ("paste").
  325. Ctrl-F9        Place the mark at the point.
  326. Ctrl-Left Arrow    Move backward one word.
  327. Ctrl-Right Arrow Move forward one word.
  328. Alt-=        Display line counts.
  329.